package cn.iocoder.yudao.module.warehouse.enums;

import cn.iocoder.yudao.framework.common.exception.ErrorCode;

/**
 * warehouse 模块错误码定义
 *
 * 错误码划分：90000-99999
 */
public interface ErrorCodeConstants {

    // ========== 库房管理 ==========
    ErrorCode WAREHOUSE_NOT_EXISTS = new ErrorCode(90001, "库房不存在");
    ErrorCode WAREHOUSE_NAME_DUPLICATE = new ErrorCode(90002, "库房名称已存在");
    ErrorCode WAREHOUSE_CAPACITY_INSUFFICIENT = new ErrorCode(90003, "库房容量不足");
    ErrorCode WAREHOUSE_HAS_DEVICES = new ErrorCode(90004, "库房内仍有参试设备，无法删除");

    // ========== 参试设备（后续扩展） ==========
    // ErrorCode TEST_DEVICE_NOT_EXISTS = new ErrorCode(90010, "参试设备不存在");
}